<?
include_once('conn.php');
include_once('include/func.php');
include("user_check.php") ;
?>	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>和易库存管理系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
<link href="css/admin.css" rel="stylesheet" type="text/css" />
	<!-- jquery packed -->
	<script type="text/javascript" src="js/jquery-1.4.4.js"></script>
<link href="js/facefiles/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<script src="js/facefiles/facebox.js" type="text/javascript"></script>

<script type="text/javascript">
    jQuery(document).ready(function($) {
      $('a[rel*=facebox]').facebox() 
    })
</script>
</head>
<body <? echo isset($_GET[ok])?'onload="fade();"':''; ?>>
<div id="wrap">
<div id="main" class="clearfix">
<div id="side">
  </div>
  <div id="head"><? include_once('user_head.php');?></div><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13%" valign="top"><div id="left"><?
  include_once('user_menu.php');
  ?></div></td>
    <td width="87%" valign="top"><div id="right">
    <?
	$str=array('{[membername]}','{[companyname]}');
	$output=array(''.$_COOKIE["name"].'',''.parameters(8).'');
    echo str_replace($str,$output,parameters(32));
	?>
    <br />
<h2><? echo SITE_MEMBER_INFO_TITLE; ?></h2>
  <div style="margin:5px; border:#CCC dotted 1px; padding:5px;">
  <table width="500" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td width="20%" align="right"><? echo MEMBER_RANKING;?>：</td>
    <td width="80%"><? 
	
	echo $leveltype[0][1];?> | <? echo 100-$leveltype[0][2].'% '.MEMBER_DESCOUNT;?> | <? echo MEMBER_PER.' '.$leveltype[0][4].' '.MEMBER_GET.' '.$leveltype[0][3].' '.MEMBER_SCORES;?></td>
  </tr>
    <tr>
    <td width="15%" align="right"><? echo MEMBER_NAME;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=3);?></td>
  </tr>
      <tr>
    <td width="15%" align="right"><? echo MEMBER_SALES_VOLUME;?>：</td>
    <td width="85%"><? 	echo unit(mamber($con1=$checkmember[0][2],$con2=5));?></td>
  </tr>
      <tr>
    <td width="15%" align="right"><? echo MEMBER_ORDER_AMOUNT;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=6);?></td>
  </tr>
      <tr>
    <td width="15%" align="right"><? echo MEMBER_DEPOSIT;?>：</td>
    <td width="85%"><? 	echo unit(mamber($con1=$checkmember[0][2],$con2=7));?></td>
  </tr>
        <tr>
    <td width="15%" align="right"><? echo MEMBER_SCORES;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=8);?></td>
  </tr>
        <tr>
    <td width="15%" align="right"><? echo MEMBER_WEB;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=9);?></td>
  </tr>
        <tr>
    <td width="15%" align="right"><? echo MEMBER_QQ;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=10);?></td>
  </tr>
        <tr>
    <td width="15%" align="right"><? echo MEMBER_ADDS;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=11);?></td>
  </tr>
        <tr>
    <td width="15%" align="right"><? echo MEMBER_EMAIL;?>：</td>
    <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=12);?></td>
  </tr>
        <tr>
          <td width="15%" align="right"><? echo MEMBER_PHONE;?>：</td>
          <td width="85%"><? 	echo mamber($con1=$checkmember[0][2],$con2=13);?></td>
        </tr>
                <tr>
          <td width="15%" align="right" valign="top"><? echo SITE_PUBILC;?>：</td>
          <td width="85%"><? 	echo htmlspecialchars_decode(parameters(19),ENT_QUOTES);?></td>
        </tr>
        </table>
  </div></div></td>
  </tr>
</table>

  
  
  </div>
  </div>

<div id="footer">
<?
include_once('fooder.php');
?>
</div>
</BODY>
</HTML>
